﻿<Window x:Class="MPE.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        
        xmlns:fat="clr-namespace:FastColoredTextBoxNS;assembly=FastColoredTextBox"
        xmlns:properties="clr-namespace:MPE.Properties" 
        
        xmlns:local="clr-namespace:MPE"

        mc:Ignorable="d"
        Title="MiniPoster Editor" Height="818.657" Width="1334.652" AllowDrop="True" WindowStartupLocation="CenterScreen" MouseLeftButtonDown="Window_MouseLeftButtonDown" KeyDown="Window_KeyDown" Closing="Window_Closing" Drop="Window_Drop">

    <Window.Resources >
        
      

        <Style x:Key="InformButton" TargetType="Button">
            <Setter Property="OverridesDefaultStyle" Value="True"/>
            <Setter Property="Margin" Value="2"/>
            <Setter Property="Foreground" Value="#FFEFF0F1"/>
            <Setter Property="FontFamily" Value="Segoe UI"/>
            <Setter Property="FontSize" Value="11px"/>

            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Border Name="border" BorderThickness="1" Padding="4,2" BorderBrush="#707070" CornerRadius="3" Background="{TemplateBinding Background}">
                            <Grid >
                                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Name="content"/>
                            </Grid>
                        </Border>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#3CA8E1" />
                                <Setter Property="Background" Value="#31363B"/> 
                            </Trigger>

                            <Trigger Property="IsPressed" Value="True">
                                <Setter Property="Background" Value="#3DAEE9"/>
                                <Setter TargetName="content" Property="RenderTransform" >
                                    <Setter.Value>
                                        <TranslateTransform Y="1.0" />
                                    </Setter.Value>
                                </Setter>
                            </Trigger>
                            <Trigger Property="IsDefaulted" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF282828" />
                            </Trigger>
                            <Trigger Property="IsFocused" Value="True">
                                <Setter TargetName="border" Property="BorderBrush" Value="#FF282828" />
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>

    <Grid x:Name="grid" Background="#232629">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="448" />
            <ColumnDefinition Width="554*"/>
            <ColumnDefinition Width="185*"/>
            <ColumnDefinition Width="{Binding Path=codeMapSize, Source={x:Static properties:Settings.Default}}" MaxWidth="140"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="23" />
            <RowDefinition Height="619*" MinHeight="619" />
            <RowDefinition Height="32" />
            <RowDefinition Height="98*"/>
        </Grid.RowDefinitions>

        <Menu Height="25" Grid.Column="0" Grid.Row="0"  Grid.ColumnSpan="4" VerticalAlignment="Top" Grid.RowSpan="2">
            <MenuItem Header="Файл">
                <MenuItem x:Name="create" Header="Создать               Ctrl+N" Click="Create_Click"/>
                <MenuItem x:Name="open" Header="Открыть              Ctrl+O" Click="Open_Click"/>
                <MenuItem x:Name="oldTasks" Header="Ранее открытые" />
                <Separator />
                <MenuItem x:Name="Exit" Header="Выход" Click="Exit_Click"></MenuItem>
            </MenuItem>
            <MenuItem Header="Правка" >
                <MenuItem x:Name="findGridCB" IsEnabled="True"  Header="Поиск                                    Ctrl+F"/>
                <MenuItem x:Name="totootot" IsEnabled="True" IsChecked="False"  Header="Замена                                  Ctrl+H"/>
                <MenuItem x:Name="fieldFormatter" IsEnabled="True"  Header="Выровнять код                     Ctrl+Q" Click="FieldFormatter_Click" />
                <MenuItem x:Name="textCommentingCB" IsEnabled="True"  Header="Закомментрировать код     Ctrl+E" Click="TextCommenting" />
                <MenuItem x:Name="dellTextCommentingCB" IsEnabled="True"  Header="Раскомментировать код     Ctrl+Shift+E" Click="DellTextCommenting" />
            </MenuItem>
            <MenuItem Header="Вид">
                <MenuItem x:Name="showErrorsCB" IsChecked="{Binding Path=isErrorList, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Список ошибок    Ctrl+K" Click="ShowErrorsCB_Click" />
                <MenuItem x:Name="codeMapCB" IsChecked="{Binding Path=isCodeMap, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Карта кода            Ctrl+L" Click="CodeMapCB_Click" />
                <MenuItem x:Name="commandCB" IsChecked="{Binding Path=isCommands, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Боковая панель    Ctrl+J" Click="CommandCB_Click" />
                <MenuItem x:Name="lineNumbersCB" IsChecked="{Binding Path=isLineNumeric, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Нумерация строк Ctrl+P" Click="LineNumbersCB_Click" />
                <MenuItem x:Name="commandTipsCB" IsChecked="{Binding Path=iscommandTips, Source={x:Static properties:Settings.Default}}" IsCheckable="True" Header="Панель подсказок" Click="CommandTips_Click"/>
                <Separator />
                <Button x:Name="zoomIn"  Content="Увеличить          Ctrl++" ToolTip="Увеличить шрифт" Click="ZoomIn_Click" Width="134" />
                <Button x:Name="zoomOut" Content="Уменьшить       Ctrl+-" ToolTip="Уменьшить шрифт" Click="ZoomOut_Click" Width="134" />
            </MenuItem>
            <MenuItem x:Name="Settings" Header="Настройки" ToolTip="Горячая клавиша F5" Click="Settings_Click"/>
        </Menu>

        <TextBox x:Name="commandsToolTip" Grid.Column="0" Grid.Row="3" Grid.RowSpan="1" TextWrapping="Wrap" AcceptsReturn="True" IsReadOnly="True" IsReadOnlyCaretVisible="True" VerticalScrollBarVisibility="Auto" Background="#FF232629" Foreground="#FFEFF0F1" Margin="0,0,1,0" FontSize="14" Text="                Добро пожаловать в MPE[mini Poster Editor]!&#x0a;Для начала откройте файл со скриптом[Ctrl+O или Файл=>Открыть].&#x0a;Теперь пора настроить редактор под себя.&#x0a;Нажмите вкладку Вид и включите/выключите нужные компоненты.&#x0a;На этом базовая настройка окончена!&#x0a;Полный список возможностей MPE описан на сайте https://github.com/Medoo48/miniPosterEditor/wiki/miniPosterEditor-Wiki"/>
        <TabControl x:Name="commandsControl" Grid.Column="0" Grid.Row="1" Grid.RowSpan="2" Background="#FF31363B" BorderBrush="#FF76797C">
            <TabItem Header="Global Vars" Background="#54575B" >
                <Grid Background="#31363B">
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="42" Margin="22,19,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_LOGIN" Click="InsertWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_EMAIL" Click="InsertWord" Margin="105,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_PASS" Click="InsertWord" Margin="200,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_NAME" Click="InsertWord" Margin="289,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Autorization" Margin="178,4,199,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="83" Margin="22,93,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_WMID" Click="InsertWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_WMR" Click="InsertWord" Margin="110,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_WMZ" Click="InsertWord" Margin="206,12,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_BITCOIN_WALLET" Click="InsertWord" Margin="259,43,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_PAYEER" Click="InsertWord" Margin="10,43,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_PERFECT_MONEY" Click="InsertWord" Margin="110,43,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_PAYPAL" Click="InsertWord" Margin="302,12,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Wallet" Margin="178,78,199,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="69" Margin="22,208,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_RUCAPTCHA_KEY" Click="InsertWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$_GLOBAL_1" Click="InsertWord" Margin="159,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                            <Button Style="{StaticResource InformButton}" Content="$_GLOBAL_2" Click="InsertWord" Margin="242,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_CAPMONSTER_IP" Click="InsertWord" Margin="10,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$GLOBAL_CAPMONSTER_KEY" Click="InsertWord" Margin="159,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Another" Margin="178,193,199,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="97" Margin="22,309,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="$SIZE_BUFFER" Click="InsertWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$REQUEST_DATA" Click="InsertWord" Margin="93,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$MODEL_NAME" Click="InsertWord" Margin="190,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$captcha" Click="InsertWord" Margin="283,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$bool" Click="InsertWord" Margin="352,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$DATE" Click="InsertWord" Margin="10,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$TIME" Click="InsertWord" Margin="56,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$IT" Click="InsertWord" Margin="101,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="$WORK_TIME" Click="InsertWord" Margin="131,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Global Var" Margin="178,294,199,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="75" Margin="22,434,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="HTTP" Click="InsertWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="HTTPS" Click="InsertWord" Margin="56,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="SOCKS5" Click="InsertWord" Margin="103,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="REPORT" Click="InsertWord" Margin="157,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="CONNECT" Click="InsertWord" Margin="217,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="READ_UNSEEN_LETTER" Click="InsertWord" Margin="281,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="SPECIAL_CHAR" Click="InsertWord" Margin="10,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="NUMBER" Click="InsertWord" Margin="101,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="CHAR" Click="InsertWord" Margin="160,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="UPPER_CHAR" Click="InsertWord" Margin="203,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="SET_NULL" Click="InsertWord" Margin="283,39,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Global Define" Margin="160,419,180,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="40" Margin="22,532,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="ERROR_EXIT" Click="InsertWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="ERROR_REPEAT" Click="InsertWord" Margin="84,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="ERROR_CONTINUE" Click="InsertWord" Margin="173,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Settings" Margin="178,517,199,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                </Grid>
            </TabItem>
            <TabItem Header="Other" Background="#54575B">
                <Grid Background="#31363B">
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="42" Margin="10,19,22,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[DISPLAY_BUFFER]" Click="InsertWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="103"/>
                            <Button Style="{StaticResource InformButton}" Content="[DISPLAY_REQUEST]" Click="InsertWord" Margin="116,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[LOG_DISPLAY]" Click="InsertOneBracketsWord" Margin="233,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DISPLAY]" Click="InsertOneBracketsWord" Margin="325,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Display data" Margin="147,4,193,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="175" Margin="10,89,12,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[PARSE]" Click="InsertTwoBracketsWord" Margin="8,11,333,8" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[REG_PARSE]" Click="InsertOneBracketsWord" Margin="60,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[TO_BASE64]" Click="InsertOneBracketsWord" Margin="136,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FROM_BASE64]" Click="InsertOneBracketsWord" Margin="212,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FIND_TEXT]" Click="InsertOneBracketsWord" Margin="305,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[URL_ENCODE]" Click="InsertOneBracketsWord" Margin="9,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[URL_DECODE]" Click="InsertOneBracketsWord" Margin="96,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[HASH]" Click="InsertTwoBracketsWord" Margin="183,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[GEN_PASSWORD]" Click="InsertTwoBracketsWord" Margin="233,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[IS_NUMERIC]" Click="InsertOneBracketsWord" Margin="338,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ADD_IN_BUFFER]" Click="InsertTwoBracketsWord" Margin="9,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CLEAR_BUFFER]" Click="InsertWord" Margin="110,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SPLIT_STR]" Click="InsertTwoBracketsWord" Margin="204,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[GET_CHAR]" Click="InsertTwoBracketsWord" Margin="276,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[UPP_LOW_STR]" Click="InsertTwoBracketsWord" Margin="9,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[STR_REPLACE]" Click="InsertTwoBracketsWord" Margin="101,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[COMPARE_WITH_BUFFER]" Click="InsertOneBracketsWord" Margin="188,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[RAND]" Click="InsertTwoBracketsWord" Margin="332,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[STR_LEN]" Click="InsertOneBracketsWord" Margin="10,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SORT_BUFFER]" Click="InsertWord" Margin="74,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[TRIMMED]" Click="InsertOneBracketsWord" Margin="163,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CLEAR_REQUEST]" Click="InsertWord" Margin="233,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[PARSE JSON]" Margin="9,141,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" IsEnabled="False" Opacity="0.1"/>
                            <Button Style="{StaticResource InformButton}" Content="[STR_TO_UTF8]" Click="InsertOneBracketsWord" Margin="90,141,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[OPERATIONS_WITH_BUFFERS]" Click="InsertOneBracketsWord" Margin="183,141,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="String Function" Margin="147,74,193,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="66" Margin="10,302,22,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[IF]" Click="InsertOneBracketsWord" Margin="8,11,333,8" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ELSE]" Click="InsertWord" Margin="38,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ENDIF]" Click="InsertWord" Margin="91,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[BREAK_POINT]" Click="InsertOneBracketsWord" Margin="152,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[GO_TO_BREAK_POINT]" Click="InsertOneBracketsWord" Margin="252,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[INCLUDE]" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Conditional operators" Margin="147,287,165,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="130" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="156" Margin="10,434,22,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[...]" Click="InsertWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="28"/>
                            <Button Style="{StaticResource InformButton}" Content="{}{{ }}" Click="InsertWord" Margin="44,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[PLAY_SOUND]" Click="InsertOneBracketsWord" Margin="75,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[EXIT_TASK]" Click="InsertWord" Margin="163,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[REPEAT_TASK]" Click="InsertWord" Margin="234,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SLEEP]" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[VERSION]" Click="InsertTwoBracketsWord" Margin="320,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_MODEL_SETTINGS]" Click="InsertOneBracketsWord" Margin="60,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_INCOM]" Click="InsertOneBracketsWord" Margin="192,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CBROWSER_COMMAND]" Click="InsertThreeBracketsWord" Margin="271,36,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[EVALUATE_JS]" Click="InsertOneBracketsWord" Margin="10,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[JS]" Click="InsertWord" Margin="98,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[/JS]" Click="InsertWord" Margin="129,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[USE_BUFFER]" Click="InsertOneBracketsWord" Margin="169,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CLEAR_TEMPLATE_MEMORY]" Click="InsertWord" Margin="251,62,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[EXEC_SQL]" Click="InsertTwoBracketsWord" Margin="10,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[VAR]" Click="InsertTwoBracketsWord" Margin="80,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[MUTEX]" Click="InsertTwoBracketsWord" Margin="127,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[STATIONARY_CBROWSER_COMMAND]" Click="InsertTwoBracketsWord" Margin="186,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Other" Margin="193,419,193,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="56" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                </Grid>
            </TabItem>
            <TabItem Header="System" Background="#54575B">
                <Grid Background="#31363B">

                    <Label Content="Display data" Margin="178,4,199,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="165" Margin="22,19,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[WRITE_IN_FILE]" Click="InsertTwoBracketsWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="87"/>
                            <Button Style="{StaticResource InformButton}" Content="[ADD_TO_FILE]" Click="InsertTwoBracketsWord" Margin="105,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[READ_FILE_ALL]" Click="InsertOneBracketsWord" Margin="191,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[READ_FILE_LINE]" Click="InsertOneBracketsWord" Margin="285,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[WRITE_BUFFER_IN_FILE]" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SAVE_CLEAR_REQUEST]" Click="InsertOneBracketsWord" Margin="143,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DELETE_FILE]" Click="InsertOneBracketsWord" Margin="275,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[COPY_FILE]" Click="InsertTwoBracketsWord" Margin="10,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[RENAME_FILE]" Click="InsertTwoBracketsWord" Margin="82,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[MOVE_FILE]" Click="InsertTwoBracketsWord" Margin="170,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FILE_EXISTS]" Click="InsertOneBracketsWord" Margin="246,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CREATE_DIR]" Click="InsertOneBracketsWord" Margin="10,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DELETE_DIR]" Click="InsertOneBracketsWord" Margin="90,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[RENAME_DIR]" Click="InsertTwoBracketsWord" Margin="170,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FOLDER_EXISTS]" Click="InsertOneBracketsWord" Margin="256,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FROM_BASE64_TO_FILE]" Click="InsertTwoBracketsWord" Margin="10,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[FROM_FILE_TO_BASE64]" Click="InsertOneBracketsWord" Margin="145,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="File Function" Margin="178,4,199,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="42" Margin="22,215,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[OPEN_URL_IN_LOCAL_BROWSER]" Click="InsertOneBracketsWord" Margin="10,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[RUN_FILE]" Click="InsertOneBracketsWord" Margin="190,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="System" Margin="178,200,199,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="102" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                </Grid>
            </TabItem>
            <TabItem Header="Captcha" Background="#54575B">
                <Grid Background="#31363B">
                    <TabControl x:Name="commandControl_Copy" HorizontalAlignment="Left" Height="581" VerticalAlignment="Top" Width="442" Background="#FF31363B" BorderBrush="#FF76797C" Margin="0,-2,0,0" >
                        <TabItem Header="other" Background="#54575B" >
                            <Grid Background="#31363B">
                                <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="71" Margin="10,136,15,0" VerticalAlignment="Top" Background="#FF31363B">
                                    <Grid>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_BLACK_END]" Click="InsertWord" Margin="10,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_CIRCUIT]" Click="InsertWord" Margin="120,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_WIDTH]" Click="InsertOneBracketsWord" Margin="206,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_SHADES]" Click="InsertWord" Margin="293,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_CIRCUIT_EX]" Click="InsertOneBracketsWord" Margin="10,36,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="105"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SPLIT_SHADES_EX]" Click="InsertOneBracketsWord" Margin="120,36,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                        <Button Style="{StaticResource InformButton}" Content="[SET_SPLIT_EX_FILTER]" Click="InsertTwoBracketsWord" Margin="229,36,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                    </Grid>
                                </Border>
                                <Label Content="Split" Margin="155,121,214,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="67" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                                <Button Style="{StaticResource InformButton}" Content="[LOAD_CAPTCHA]" Click="InsertOneBracketsWord" Margin="15,17,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[SAVE_CAPTCHA]" Click="InsertWord" Margin="116,17,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CONVERT_IMG]" Click="InsertTwoBracketsWord" Margin="214,17,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GET_IMAGE_FROM_ARRAY_IMG]" Click="InsertOneBracketsWord" Margin="17,43,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[DELL_IMAGE_FORM_ARRAY_IMG]" Click="InsertOneBracketsWord" Margin="192,43,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[SET_IMAGE_TO_ARRAY_IMG]" Click="InsertOneBracketsWord" Margin="17,69,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ARRAY_TO_IMAGE]" Click="InsertOneBracketsWord" Margin="173,69,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[DISPLAY_IMG]" Click="InsertWord" Margin="17,239,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[DISPLAY_ARRAY_IMG]" Click="InsertWord" Margin="104,239,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="$IMG_ARRAY_COUNT" Click="InsertWord" Margin="228,239,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[COMPARE_IMAGES]" Click="InsertTwoBracketsWord" Margin="17,267,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[GET_IMAGE_INFO]" Click="InsertOneBracketsWord" Margin="131,267,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ENTER_CAPTCHA]" Click="InsertOneBracketsWord" Margin="17,293,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="ENTER RECAPTCHA`" Margin="122,293,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" IsEnabled="False" Opacity="0.1"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="filters" Background="#54575B">
                            <Grid Background="#31363B" Margin="0,0,-3,0">
                                <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="66" Margin="12,209,20,0" VerticalAlignment="Top" Background="#FF31363B">
                                    <Button Style="{StaticResource InformButton}" Content="[COMPRESS_SHADES]" Click="InsertOneBracketsWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="118"/>
                                </Border>
                                <Label Content="Shades" Margin="175,194,189,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="75" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                                <Button Style="{StaticResource InformButton}" Content="[CLEAR_TRANSPARENT]" Click="InsertWord" Margin="10,19,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[COLOR_TRESHOLD]" Click="InsertOneBracketsWord" Margin="140,19,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CLEAR_INTERFERENCE]" Click="InsertOneBracketsWord" Margin="253,19,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CHANGE_COLOR_IF_NOT_THIS_COLOR]" Click="InsertTwoBracketsWord" Margin="11,45,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CLEAR_GRADIENT]" Click="InsertWord" Margin="220,45,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CLEAR_LINES]" Click="InsertOneBracketsWord" Margin="329,45,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[APPLY_NEGATIVE]" Click="InsertWord" Margin="11,71,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[SEAL_MICROCRACKS]" Click="InsertOneBracketsWord" Margin="116,71,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[RGB_COLOR_TRESHOLD]" Click="InsertTwoBracketsWord" Margin="240,71,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CHANGE_COLOR_ON_COLOR]" Click="InsertTwoBracketsWord" Margin="11,97,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[FIND_PIXEL]" Click="InsertOneBracketsWord" Margin="175,97,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ONE_OF_RGB_TO_BLACK]" Click="InsertWord" Margin="253,97,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ALIGN_IMG]" Click="InsertOneBracketsWord" Margin="12,123,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ALIGN_IMG_ARRAY]" Click="InsertOneBracketsWord" Margin="92,123,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CROP]" Click="InsertTwoBracketsWord" Margin="211,123,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CROP_ALL_SIDE]" Click="InsertWord" Margin="260,123,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[COPY_IMAGE]" Click="InsertOneBracketsWord" Margin="12,149,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CUT_GRID]" Click="InsertOneBracketsWord" Margin="98,149,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="model" Background="#54575B">
                            <Grid Background="#31363B">
                                <Button Style="{StaticResource InformButton}" Content="[START_MAKE_MODEL]" Click="InsertWord" Margin="10,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[END_MAKE_MODEL]" Click="InsertWord" Margin="136,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[COMPLETE_MAKE_MODEL]" Click="InsertOneBracketsWord" Margin="254,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[FIND_ARRAY_IMG_IN_MODEL_LIST]" Click="InsertOneBracketsWord" Margin="10,41,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                        <TabItem Header="readers" Background="#54575B">
                            <Grid Background="#31363B">
                                <Button Style="{StaticResource InformButton}" Content="[RUCAPTCHA]" Click="InsertTwoBracketsWord" Margin="10,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[CAPTCHA_PROEVOLITION]" Click="InsertOneBracketsWord" Margin="93,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[TESSERACT]" Click="InsertOneBracketsWord" Margin="245,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[ABBYY_READER]" Click="InsertOneBracketsWord" Margin="321,15,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[LOGICAL_READER]" Click="InsertWord" Margin="10,41,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[FIND_IMG_LIST_ON_IMG]" Click="InsertTwoBracketsWord" Margin="118,41,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[RECAPTCHA_READER]" Click="InsertOneBracketsWord" Margin="259,41,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                                <Button Style="{StaticResource InformButton}" Content="[XEVIL]" Click="InsertTwoBracketsWord" Margin="10,67,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            </Grid>
                        </TabItem>
                    </TabControl>
                </Grid>
            </TabItem>
            <TabItem Header="Get\Post+Proxy" Background="#54575B">
                <Grid Background="#31363B">
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="70" Margin="22,19,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[GET]" Click="InsertOneBracketsWord" Margin="8,11,333,8" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[POST]" Click="InsertTwoBracketsWord" Margin="49,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[PUT]" Click="InsertTwoBracketsWord" Margin="97,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[POST_MULTIPART]" Click="InsertThreeBracketsWord" Margin="138,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[PASS_CLOUDFLARE]" Click="InsertOneBracketsWord" Margin="245,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[AJAX_GET]" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[AJAX_POST]" Click="InsertTwoBracketsWord" Margin="80,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[AJAX_PUT]" Click="InsertTwoBracketsWord" Margin="157,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Send Requers" Margin="160,4,169,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="113" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="145" Margin="22,120,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[SET_USER_AGENT]" Click="InsertOneBracketsWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="102"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_REFERER]" Click="InsertOneBracketsWord" Margin="115,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_HOST]" Click="InsertTwoBracketsWord" Margin="204,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[COOKIE_TO_BUFFER]" Click="InsertOneBracketsWord" Margin="279,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_TIMEOUT]" Click="InsertOneBracketsWord" Margin="9,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[REQUEST_TO_UTF]" Click="InsertWord" Margin="98,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_COOKIE]" Click="InsertTwoBracketsWord" Margin="9,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CLEAR_ALL_COOKIES]" Click="InsertWord" Margin="90,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[COPY_COOKIE]" Click="InsertTwoBracketsWord" Margin="213,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SAVE_COOKIE]" Click="InsertWord" Margin="304,63,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[LOAD_COOKIE]" Click="InsertWord" Margin="9,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ADD_HEADER]" Click="InsertTwoBracketsWord" Margin="101,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ADD_TEMPORARY_HEADER]" Click="InsertTwoBracketsWord" Margin="192,89,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[DELL_ADDED_HEADER]" Click="InsertOneBracketsWord" Margin="10,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[CLEAR_ADDED_HEADERS]" Click="InsertWord" Margin="141,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_KEEP_ALIVE]" Click="InsertTwoBracketsWord" Margin="285,115,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Modifi Headers" Margin="160,105,169,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="113" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                    <Border BorderBrush="#FF76797C"  BorderThickness="1" Height="66" Margin="22,299,10,0" VerticalAlignment="Top" Background="#FF31363B">
                        <Grid>
                            <Button Style="{StaticResource InformButton}" Content="[USE_PROXY]" Click="InsertTwoBracketsWord" Margin="8,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="73"/>
                            <Button Style="{StaticResource InformButton}" Content="[DELL_PROXY]" Click="InsertWord" Margin="86,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[SET_PHP_GATE]" Click="InsertOneBracketsWord" Margin="169,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[UNSET_PHP_GATE]" Click="InsertWord" Margin="262,11,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[TOR_NEW_IDENTITY]" Click="InsertOneBracketsWord" Margin="10,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                            <Button Style="{StaticResource InformButton}" Content="[ON_OFF_PROXY]" Click="InsertWord" Margin="130,37,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                    <Label Content="Proxy" Margin="184,284,195,0" Background="#FF31363B" VerticalAlignment="Top" HorizontalAlignment="Center" Width="63" Foreground="#FFEFF0F1" HorizontalContentAlignment="Center"/>
                </Grid>
            </TabItem>
        </TabControl>

        <WindowsFormsHost x:Name="codeMapProvider" Grid.Row="1" Grid.Column="3" Grid.RowSpan="3" MaxWidth="140">
            <fat:DocumentMap x:Name="codeMap" ForeColor="gray" BackColor="Black"/>
        </WindowsFormsHost>

        <WindowsFormsHost x:Name="fieldProvider" AllowDrop="True" DragDrop.Drop="Window_Drop" Grid.Row="1" Grid.RowSpan="3" Grid.Column="1" Grid.ColumnSpan="2" Background="Gray">
            <fat:FastColoredTextBox x:Name="field" AllowDrop="True" ToolTipNeeded="getToolTip" AllowMacroRecording="False" IndentBackColor="#232629" LineNumberColor="White" AutoIndentNeeded="Field_AutoIndentNeeded" TextChanged="Field_TextChanged" ForeColor="White" BackColor="#232629" SelectionColor="Aqua">
                
            </fat:FastColoredTextBox>
        </WindowsFormsHost>

        <Grid x:Name="findGrid" Visibility="Hidden" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2">
            <Button Background="Red"/>
        </Grid>

    </Grid>
</Window>